package com.example.campus.service;

import com.example.campus.pojo.entity.Like;
import com.example.campus.pojo.vo.InfoLikeVO;
import com.example.campus.pojo.vo.UserLikeVO;

import java.util.List;

public interface LikeService {
    void addByUser(Long infoId);

    void removeByUser(Long infoId);

    List<UserLikeVO> getLikeListByUser();

    List<InfoLikeVO> getLikeListByInfo(Long infoId);

    Integer getLikeCount(Long infoId);

    Long getLikeTotal();
}
